﻿
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
}
<div class="layui-form layui-row  childrenBody" id="add-form" style="width:95%;">
    <input type="hidden" class="layui-input" name="gParentCode">
    <input type="hidden" class="layui-input" name="iLevel">
    <input type="hidden" class="layui-input" name="iSort">
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">菜单名称：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input " lay-verify="required" name="sName" placeholder="请输入名称">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">菜单标签：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" lay-verify="required" name="sIconFont" placeholder="请输入Icon">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">菜单链接：</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input" name="sUrl" placeholder="请输入菜单链接">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">菜单类型：</label>
        <div class="layui-input-block">
            <select name="iType" xm-select="iType" id="iType">
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-row layui-col-xs12">
        <label class="layui-form-label">是否启用：</label>
        <div class="layui-input-block" name="bIsEnabled">
            <input type="radio" name="bIsEnabled" value="true" title="启用" checked="">
            <input type="radio" name="bIsEnabled" value="false" title="禁用">
        </div>
    </div>
    <div class="layer-footer">
        <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addButton">立即添加</button>
        <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
    </div>
</div>
@section Foot
{
    <script src="~/Areas/Authority/js/menus.add.js"></script>
}
